package offer.secnod;

public class Offer05 {

    String  replace(String s){
        StringBuffer sb = new StringBuffer();
        char[] chars = s.toCharArray();
        for (char c: chars) {
            if (c==' '){
        sb.append("20%");
            }else {
                sb.append(c);
            }


        }
        return sb.toString();


    }
}
